import Layout from "@/layouts/merchant.vue";

export default {
  path: "/hotel-admin",
  component: Layout,
  meta: {
    title: "酒店管理后台",
    requiresAuth: true,
    requiresHotelMerchant: true,
  },
  children: [
    {
      path: "",
      name: "HotelAdminDashboard",
      component: () => import("@/views/hotel-admin/dashboard.vue"),
      meta: {
        title: "控制台",
        icon: "fas fa-tachometer-alt",
        requiresHotelMerchant: true,
      },
    },
    {
      path: "hotel-info",
      name: "HotelInfo",
      component: () => import("@/views/hotel-admin/hotel-info/index.vue"),
      meta: {
        title: "酒店信息",
        icon: "fas fa-hotel",
        requiresHotelMerchant: true,
      },
    },
    {
      path: "rooms",
      name: "RoomManagement",
      component: () => import("@/views/hotel-admin/rooms/index.vue"),
      meta: {
        title: "房间管理",
        icon: "fas fa-bed",
        requiresHotelMerchant: true,
      },
    },
    {
      path: "room-status",
      name: "RoomStatus",
      component: () => import("@/views/hotel-admin/room-status/index.vue"),
      meta: {
        title: "房态管理",
        icon: "fas fa-door-open",
        requiresHotelMerchant: true,
      },
    },
    {
      path: "bookings",
      name: "BookingManagement",
      component: () => import("@/views/hotel-admin/bookings/index.vue"),
      meta: {
        title: "订单管理",
        icon: "fas fa-clipboard-list",
        requiresHotelMerchant: true,
      },
    },
    {
      path: "customers",
      name: "CustomerManagement",
      component: () => import("@/views/hotel-admin/customers/index.vue"),
      meta: {
        title: "客户管理",
        icon: "fas fa-users",
        requiresHotelMerchant: true,
      },
    },
    {
      path: "reviews",
      name: "ReviewManagement",
      component: () => import("@/views/hotel-admin/reviews/index.vue"),
      meta: {
        title: "评价管理",
        icon: "fas fa-star",
        requiresHotelMerchant: true,
      },
    },
    {
      path: "finance",
      name: "HotelFinance",
      component: () => import("@/views/hotel-admin/finance/index.vue"),
      meta: {
        title: "财务管理",
        icon: "fas fa-yuan-sign",
        requiresHotelMerchant: true,
      },
    },
    {
      path: "promotions",
      name: "PromotionManagement",
      component: () => import("@/views/hotel-admin/promotions/index.vue"),
      meta: {
        title: "促销活动",
        icon: "fas fa-tags",
        requiresHotelMerchant: true,
      },
    },
    {
      path: "store-settings",
      name: "HotelStoreSettings",
      component: () => import("@/views/hotel-admin/store-settings.vue"),
      meta: {
        title: "店铺设置",
        icon: "fas fa-store",
        requiresHotelMerchant: true,
      },
    },
    {
      path: "profile",
      name: "HotelAdminProfile",
      component: () => import("@/views/hotel-admin/profile/index.vue"),
      meta: {
        title: "个人信息",
        icon: "fas fa-user",
        requiresHotelMerchant: true,
      },
    },
    {
      path: "notification",
      name: "HotelAdminNotification",
      component: () => import("@/views/hotel-admin/notification/index.vue"),
      meta: {
        title: "消息中心",
        icon: "fas fa-bell",
        requiresHotelMerchant: true,
      },
    },
    {
      path: "settings",
      name: "HotelAdminSettings",
      component: () => import("@/views/hotel-admin/settings/index.vue"),
      meta: {
        title: "账号设置",
        icon: "fas fa-cog",
        requiresHotelMerchant: true,
      },
    },
  ],
};
